<!DOCTYPE HTML>
<style>
    .box { width: 100px; height: 100px; }
    #id { background-color: purple; }
    </style>
<body>
    <div id="id" class="box"></div>
</body>
</html>